Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ulms 2812 whiteboard rebrand #258

Merged
merged 21 commits into from
Mar 13, 2024
Merged

Ulms 2812 whiteboard rebrand #258

merged 21 commits into from
Mar 13, 2024

Conversation

Flyer3d
Copy link
Contributor

@Flyer3d Flyer3d commented Jan 23, 2024

No description provided.

@Flyer3d Flyer3d added the enhancement New feature or request label Jan 23, 2024
@Flyer3d Flyer3d requested review from alexkonst and dkvovik January 23, 2024 13:26
@Flyer3d Flyer3d self-assigned this Jan 23, 2024
@Flyer3d Flyer3d requested a review from alexkonst February 5, 2024 12:22
# Conflicts:
#	packages/presentation/package-lock.json
#	packages/presentation/package.json
@@ -240,7 +241,9 @@ export class ContextToolbar extends React.Component {
{showLineTool && (
<SettingsGroup
direction={`${direction}-start`}
containerStyles={{ marginLeft: '-12px' }}
containerStyles={{
left: '-12px', padding: '8px 12px', top: direction === 'top' ? '2px' : '-2px',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Предлагаю вынести стили в константу вне компонента

@@ -268,7 +271,9 @@ export class ContextToolbar extends React.Component {
{showFontTool && (
<SettingsGroup
direction={`${direction}-start`}
containerStyles={{ marginLeft: '-12px' }}
containerStyles={{
left: '-12px', padding: '8px 12px', top: direction === 'top' ? '2px' : '-2px',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Предлагаю вынести стили в константу вне компонента

</SettingsGroup>
)}
{showColorTool && (
<SettingsGroup
direction={`${direction}-start`}
containerStyles={{ marginLeft: '-12px' }}
containerStyles={{
left: '-12px', padding: '12px', top: direction === 'top' ? '2px' : '-2px',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Предлагаю вынести стили в константу вне компонента

@@ -70,7 +70,7 @@ export class TextGroup extends React.Component {
return (
<SettingsGroup
direction='right-start'
containerStyles={{ marginTop: '-12px', marginLeft: '4px' }}
containerStyles={{ marginTop: '-16px', marginLeft: '-2px' }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Предлагаю вынести стили в константу вне компонента.
Заметил что это же значение используется еще в трех других компонентах

@Flyer3d Flyer3d requested a review from a team as a code owner March 6, 2024 17:35
@Flyer3d Flyer3d merged commit 90e69c2 into master Mar 13, 2024
1 check failed
@Flyer3d Flyer3d deleted the ULMS-2812-whiteboard-rebrand branch March 13, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

3 participants